home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 1998 June
/
SGI Freeware 1998 June.iso
/
dist
/
fw_UMINNgopher.idb
/
usr
/
freeware
/
src
/
gopher_1.12
/
gopher
/
Makefile.z
/
Makefile
Wrap
Makefile
|
1997-09-09
|
2KB
|
65 lines
#********************************************************************
# $Author: drich $
# $Revision: 1.1 $
# $Date: 1995/10/03 04:07:58 $
# $Source: /proj/freeware1.0/gopher1.12/src/gopher/RCS/Makefile,v $
# $State: Exp $
#
# Paul Lindner, University of Minnesota CIS.
#
# Copyright 1991, 1992 by the Regents of the University of Minnesota
# see the file "Copyright" in the distribution for conditions of use.
#********************************************************************
# MODULE: Makefile
# Makefile for gopher client
#*********************************************************************
# Revision History:
# $Log: Makefile,v $
# Revision 1.1 1995/10/03 04:07:58 drich
# gopher 1.2 check-in
#
# Revision 1.3 1993/01/07 22:51:44 lindner
# Added download.o to list of objects
#
# Revision 1.2 1992/12/31 04:01:06 lindner
# moved html.c to html2.c for VMS
#
# Revision 1.1 1992/12/10 23:32:16 lindner
# gopher 1.1 release
#
#********************************************************************/
include ../Makefile.config
OBJS = manager.o gopher.o globals.o ourutils.o cso.o \
subprocs.o html2.o HTML.o CURcurses.o hymoo.o gopherrc.o download.o
CCFLAGS = $(OPT) $(GSYSTYPE) $(INCLUDES) -DGOPHERHELP=\"$(CLIENTLIB)/gopher.hlp\"
TARGET = gopher
all: $(TARGET)
.c.o:
$(CC) $(CCFLAGS) -c $<
globals.o : globals.h version.h
../object/libgopher.a:
(cd ..; $(MAKE) $(MFLAGS) objects)
$(TARGET) : $(OBJS) ../object/libgopher.a
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(CLIENTLIBS)
install : all
-mv $(CLIENTDIR)/$(TARGET) $(CLIENTDIR)/$(TARGET).old
$(INSTALL) -c $(TARGET) $(CLIENTDIR)
$(INSTALL) -c gopher.hlp $(CLIENTLIB)
clean:
-rm -f $(TARGET) $(OBJS) *.out *~ core
$(OBJS): gopher.h ../conf.h
globals.o: globals.h